var ddf={};

/**
 * 创建用户首页对象
 */
ddf.index={
		index_js:CTX+"/admin/agent/js/index/index.js",
		queryAgentMenus:CTX+"/agentadmin/Login/queryUserMenus.do",
		queryShowOperate:CTX+"/agentadmin/Login/queryShowOperate.do",
};

/**
 * 创建账户对象
 */
ddf.account={
	 account_js:CTX+"/admin/agent/js/account/account.js",
	 getAccountDetails:CTX+"/agentadmin/Account/getAccountDetails.do",
	 getAccountType: CTX+"/agentadmin/Account/getAccountType.do",
	 getAccountDetailsById : CTX +"/agentadmin/Account/getAccountDetailsById.do",
};


/**
 * 创建订单管理对象
 */
ddf.order={
		order_js:order_js=CTX+"/admin/agent/js/order/orderInit.js",
		
		getMyOrders:CTX+"/agentadmin/Order/getMyOrders.do",//订单查询
		
		getPaymentsList:CTX+"/agentadmin/Order/getPaymentsList.do",//支付方式列表
		
		getErpOrderTypesList:CTX+"/agentadmin/Order/getErpOrderTypesList.do",//订单类型列表
		
		getOrderstatusList:CTX+"/agentadmin/Order/getOrderstatusList.do",//订单状态
		
		getBusinessTypeList:CTX+"/agentadmin/Order/getBusinessTypeList.do",//订单业务类型列表
		
		getOrderDetails:CTX+"/agentadmin/Order/getOrderDetails.do",//订单详情
		
//		processOrder:CTX+"/agentadmin/Order/processOrder.do",//取消订单
//		
//		printOrderDetail:CTX+"/agentadmin/Order/printOrder.do",//打印订单
//		
//		loadReasonList:CTX+"/agentadmin/Order/getReasonList.do",//取消原因列表
//		
//		remindToUser:CTX+"/agentadmin/Order/remindToUser.do",//提醒用户发货
		
		checkOrderAdd:CTX+"/agentadmin/Order/checkOrderAdd.do",//
		
		setPrintType :CTX+"/agentadmin/Order/setPrintType.do"//
		
};

/**
 * 创建银行的对象
 */
ddf.bank={
	 bank_js  : CTX + "/admin/agent/js/bank/bank.js", 
	 getCardType : CTX + "/agentadmin/Banks/getCardType.do", //获取身份类型
	 queryBankParamsList : CTX + "/agentadmin/Banks/getBanksName.do", //获取银行的名字
	 getBindBankCard : CTX + "/agentadmin/Banks/getBindBankCard.do", //银行绑定
	 getBankAccountsDetails : CTX + "/agentadmin/Banks/getBankAccountsDetails.do", //银行账户信息
	 setDefaultAccounts : CTX +"/agentadmin/Banks/setDefaultAccounts.do", //设置默认账户
	 reBindBanks : 	CTX +"/agentadmin/Banks/reBindBanks.do", //重新绑定
	 unBindBanks : CTX +"/agentadmin/Banks/unBindBanks.do", //解除绑定
	 getBanksParams:CTX + "/agentadmin/Banks/getBanksName.do",//银行列表和证件类型列表
	 deleteBank:CTX+"/agentadmin/Banks/deleteBank.do",//删除银行卡
};

/**
 * 代理商的基本設置
 */
ddf.agentMessage={
	
	 agentMessage_js : CTX +"/admin/agent/js/agentMessage/agentMessage.js", //加載代理商戶的基本信息
     queryAgent : CTX +"/agentadmin/Agent/queryAgent.do", //查询代理商消息
     saveAgent : CTX + "/agentadmin/Agent/saveAgent.do", //修改保存代理商信息
};

/**
 * 终端监控
 */
ddf.terminalControl={
	 terminalControl_js : CTX +"/admin/agent/js/terminalControl/terminalControl.js",
	 queryTerminalByAgentId : CTX+"/agentadmin/Agent/queryTerminalByAgentId.do",
	 queryTerminalMapByAgentId : CTX +"/agentadmin/Agent/queryTerminalMapByAgentId.do", //终端控制地图
     getShopDetailByShopId : CTX +"/agentadmin/Agent/getShopDetailByShopId.do", //更具shopId查看商家的详情
 };

/**
 * 操作员对象
 */
ddf.operator={
	 operator_js : CTX +"/admin/agent/js/operator/operator.js",
	 queryAllByAgentId : CTX+"/agentadmin/UserAgent/queryAllByAgentId.do",
};
 
/**
 * 安全设置
 */
ddf.safe={
	
	 safe_js : CTX + "/admin/agent/js/safe/safe.js", //加载安全设置
	 queryMessage : CTX +"/agentadmin/SafeSet/queryMessage.do", //查询用户的基本信息
//	 showMobile : CTX +"/agentadmin/SafeSet/showMobile.do", //修改手机
	 resetMobile : CTX + "/agentadmin/SafeSet/resetMobile.do", //修改手机
     resetLoginPwd : CTX +"/agentadmin/SafeSet/resetLoginPwd.do", //修改登录密码
     resetPayPwd : CTX +"/agentadmin/SafeSet/resetPayPwd.do", //修改支付密码
     queryAccount:CTX+"/agentadmin/SafeSet/queryAccount.do",//查询账户信息
	 addUserAccount:CTX+"/agentadmin/SafeSet/addUserAccount.do",//新增支付密码
	 showPersonMobile:CTX+"/agentadmin/SafeSet/showPersonMobile.do",//显示个人手机号码
	 resetPersonMobile:CTX+"/agentadmin/SafeSet/resetPersonMobile.do"//重置个人手机号码
	 
	
};

/**
 * 提现的对象
 */
ddf.withDrawSettle={
		
	 withDrawSettle_js:CTX+"/admin/agent/js/withDrawSettle/withDrawSettle.js", //提现记录
	
	 withDraw_js : CTX +"/admin/agent/js/withDrawSettle/withdraw.js", //提现操作
	
	 getWithDrawSettleList:CTX+"/agentadmin/Withdraw/querySettle.do",//提现的记录
	
	 withdraw : CTX+"/agentadmin/Withdraw/withdraw.do", //提现操作
	
	 confirm : CTX+"/agentadmin/Withdraw/confirm.do", //提现确认
	
	 settleApply : CTX+"/agentadmin/Withdraw/settleApply.do", //提现申请
	 
	 getBindBankCard : CTX + "/agentadmin/Withdraw/getBindBankCard.do", //银行绑定
	 
	 //getBanksParams:CTX + "/agentadmin/Banks/getBanksName.do"//银行列表和证件类型列表
	
};
/**
 * 创建商户
 */
ddf.shop={
	 shop_js : CTX+"/admin/agent/js/shop/shop.js",
     queryShopsByAgentId : CTX + "/agentadmin/Agent/queryShopsByAgentId.do", //查询代理商所拥有的商家
};


/*
ddf.agentTree={
		agentTree_js : CTX+"/admin/agent/js/agentTree/agentTree.js",//代理商查看下级菜单js文件
        getAgentTree : CTX +"/agentadmin/Login/getAgentTree.do",
        getTerminalByShopId : CTX +"/agentadmin/Login/getTerminalByShopId.do",
};
*/